@import 'antd/es/style/themes/default.less';
.container {
  padding: 0 32px;
}
.block-title {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;

  height: 56px;
  margin-top: 16px;
  margin-bottom: 8px;
  .title {
    font-size: @heading-4-size;
    font-weight: bold;

    display: inline-block;

    color: @heading-color;
  }
  .btn {
    font-size: @font-size-lg;

    cursor: pointer;
    user-select: none;

    color: @primary-color;
  }
}

.block-left-title {
  display: inline-block;
}
.item-name {
  cursor: pointer;
  user-select: none;

  color: @primary-color;
}

.toggle-title-btn {
  font-size: @heading-4-size;
  font-weight: bold;

  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 56px;
  padding: 0 4px;

  cursor: pointer;
  user-select: none;

  color: @text-color-secondary;
  border-bottom: 3px solid #fff;
  + .toggle-title-btn {
    margin-left: 24px;
  }
  &.active {
    color: @heading-color;
    border-bottom-color: @primary-color;
  }
  .message-total {
    font-size: 12px;
    font-weight: normal;

    position: absolute;
    top: 0;
    right: -20px;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 6px;

    text-align: center;

    color: #fff;
    border-radius: 10px;
    background-color: @error-color;
  }
}

.avatar {
  font-size: @font-size-base !important;

  color: @primary-6;
  border: 1px solid @primary-6;
  background-color: @primary-1;

  &.female {
    color: @error-color;
    border: 1px solid @error-color;
    background-color: lighten(@error-color, 33%);
  }
}

.message-line {
  padding-left: 8px;
  &:hover {
    background-color: @grey-2;
  }
}

.message-list {
  padding-bottom: 16px;
}

.item-urgency {
  color: @error-color;
  &::before {
    display: inline-block;

    width: 4px;
    height: 4px;
    margin: 0 4px;

    content: '';
    vertical-align: middle;

    border-radius: 50%;
    background-color: @error-color;
  }
}
